# OpenAPI version identifier - required for OpenAPI 3.0 domains
# (c) Elexon 2022, 2023, 2024
#
# MMHS - Data Integration Platform 
# SubmitEvents API 
#
# ----- update notices ---------------------------------------------------------------
# November 2023
# --------------
# Updates to include changes for interim release 1.6
#
# October 2023
# --------------
# Updates to include changes for interim release 1.5.1
# Changes to implement inconsistencies highlighted by internal audit. NO structural change to 
# any objects. Changes to event codes and optionality of properties within objects
#
# September 2023
# --------------
# Updates to include changes for interim release 1.5
# - see below for details
#
# August 2023
# -----------
# Updates to include changes for interim release 1.4
#
# July 2023
# ---------
# Updates to include changes for interim release 1.3
#
# April 2023
# ----------------
# Version 1.1 is now published and fixed. 
# A version 1.2 will be created to pick up the next set of changes. 
#
# ----- note on use of upper/lower case -------------------------------------
# DIP will not be enforcing capitalisation validation on JSON field names or URLS on message ingress. 
# MPs are welcome to enfore capiltalisation validation when recieiving messages 
# as the DIP will obey the case definitions of the swagger.
# The data itself is case sensitive
#   
# January 2023
# ------------
# After consulation with the DIP SP there has been a significant change to the endpoint definitions for the submisison of messages
# Instead of a single endpoint where all messages are submitted, each message interface will be submitted at a different endpoint 
# The rationale for this change is primarily from a maintainability point-of-view as it allows maintainence on each interface in isolation from 
# other interfaces and allows new message channels to be added without impact existing interfaces. 
#
# outstanding work :-
# 1. replace swaggerhub domain with DIP domain name - to do
#
# none of these items affect the data format
# 
# any comments please relay to design(@)mhhsprogramme.co.uk
# ------------------------------------------------------------------------------------
# Change history
# ====================================================================================
# Ver   Date           Ref.    Description
# ------------------------------------------------------------------------------------
# 1.8.3 09/09/2024              Support new IR8.3 release  
# 1.8.2 12/08/2024              Support new IR8.2 release  
# 1.8.1 03/05/2024              Support new IR8.1 release  
#       15/05/2024   DIN-974    Align webhook responses for statusMessage and dip-channel
#       23/04/2024   DIN-1018   Correct validation endpoints and add /validate/IF-009/MPANReconnection
#       22/05/2024   DIN-1031   Update to Standard Response Body to reflect mandatory null 
#       28/05/2024   DIN-962    Make MPAN optional on replay/requeue
#       07/06/2024   DIN-988    Remove IF-003-DSDeAppUpdateRM & IF-003-DSDeAppUpdateRM valdation endpoints
# 1.8   22/03/2024              Support new IR8 release  
#       22/03/2024   DIN-960    Add validation endpoints 
#       22/03/2024   DIN-892    Split DIPMessage for ingress/egress
# 1.7.1 27/02/2024              Support new 7.1 release  
#       01/03/2024   DIN-924    Add signature components to webhook callback definition
#       01/03/2024   DIN-925    Include MPO details to webhook callback definition
#       01/03/2024   DIN-926    Change the description of the response text associated with a response code 204
#       01/03/2024   DIN-931    Return code 400 needs a response body
# 1.7   13/11/2023              Support IR7
#       18/01/2024   DIN-844    CR023 Addition of MDR interfaces IF-061/2/3/4/5
# 1.6   19/10/2023              Support new release IR6 - IF015/16 are valid in this version
#       24/10/2023   DIN-684    Add REP-003A-Payload
#       27/10/2023   DIN-749    Add payload to requried in message
#       27/10/2023   DIN-710    Updates to support IF-015/016
#       27/10/2023   DIN-749    Add required block to DIPMessage
#       10/01/2024   DIN-861    Clarification on webhook responses
# 1.5.1 6 Oct 23                Update links to examples 0.3
#       9 oct 23     DIN 700    Remove recipent id from MessageRequest as already specified on path
# 1.5 - Sept 23                 Significant updates including:
#                    DIN 602    Update to multiple interfaces to include IF variants 
#                               with muliple event codes and block population   
#                    DIN 650    Compressed payloads for ECS reports
#                               Inclusion of a Examples module so that some example messages 
#                               have been inlcuded in the drop-down from the /dip-channel/{id}
#                               definition
#                               Other minor DINS to tidy up interface and report definitions
#
# 1.4 - August 23               Include REP900/901 for CR27 - DUoS E-Billing DIP message for MHHS
#       July 2023    DIN 485    Issue with requirng a recipient ID for many Post/Delete 
#                               operations so that the subject is known, need to specify 
#                               which webhook is being deleted, and post methods for webhook config, 
#                               post methods for replay
# 1.3 - June 2023               Interim release 3 support
#                    DIN-463    Add de-register of Status Message API 
#                    DIN-464    Add enumeration for message channels  
# 1.2 - May 2023                Add replay API 
# 1.1 - Feb/Mar 23              Message signatures in headers
#                               Multiple endpoints with reworked API calls 
#                               Introduced a standard response for messages response and Status Message
#                               URLs adopy standardisation of lower case and case insensitivity
# 1.0 - 17/02/2023              Published to align with DAG sign-off 16/02/23
# 0.4 - 26/01/2023   
# 0.3 - 10/11/2022              Align with component files which are all 0.3
#       18/11/2022              Mulitple updates to REPs
#       21/11/2022              Add IF-050
#       19/12/2022              Add IF-019 & IF-020, IF-004. Other interfaces tidy up    
#
# 0.2 - Sept/Oct 22             Updates following first MHHS Programme review - multiple updates
#                                 - industry comments 
#                                 - API security schema 
#                                 - webhook subscription takkes parameters of Publication Ids 
#
## 0.1 - August 22              Sent for first MHHS Programme Review
# ==============================================================
# 



openapi: 3.0.0
info:
  version: 1.8.3
  title: DIP - Send Messages & Receive Publications
  description: 
    Latest release 1.8.3 <br> DIP APIs for sending & recieving MHHS TOM messages and reports. <br>Supported interfaces -<br><br>
     -           Channel-001    Notification of Change of Supplier **<br>
     -           Channel-002    Registration Update to Supplier (COS Gain) **<br>
     -           Channel-003    Notification of Migration and De-Appointment (Migration)<br>
     -           Channel-004    Comms Hub Information <br>
     -           Channel-005    Metering Service MTD Updates to Registration<br>
     -           Channel-006    Registration Service Notification of MTD Updates<br>
     -           Channel-007    Change of Energisation Status Outcome<br>
     -           Channel-008    Registration Service Notification of Change of Energisation Status<br>
     -           Channel-009    Registration Service Notification of Disconnection<br>
     -           Channel-013    MDS Defaults Applied <br>
     -           Channel-014    Rejected Consumption Data Submission<br>
     -           Channel-015    Request Historic Consumption Replay (ADV Sites only)<br>
     -           Channel-016    HH Consumption History Replay  (ADV Sites only)<br>
     -           Channel-018    Notification of Registration Data Item Changes<br>
     -           Channel-019    Maintain MPAN Relationships<br>
     -           Channel-020    Maintain MPAN Relationship Response<br>
     -           Channel-021    UTC Settlement Period Consumption Data<br>
     -           Channel-022    LSS Period Data<br>
     -           Channel-023    LSS Totals Data<br>
     -           Channel-024    Supplier Advisory Notification to DS<br>
     -           Channel-025    Supplier Updates to Registration<br>
     -           Channel-026    Registration Service Notification of Supplier Data Chg<br>
     -           Channel-027    Consumption Amendment Request<br>
     -           Channel-028    Consumption Amendment Request Response<br>
     -           Channel-030    Correlated MPAN Activity<br>
     -           Channel-031    Supplier Service Provider Appointment Request<br>
     -           Channel-032    Supplier Service Provider Appointment Request Response<br>
     -           Channel-033    Registration Service Request for Service Appointment<br>
     -           Channel-034    Service Provider Appointment Request Response<br>
     -           Channel-035    Registration Service Appointment Status Notification<br>
     -           Channel-036    Registration Service Notification of Service Appointment & Supporting Info<br>
     -           Channel-037    Registration Service Notification of Service De-Appointment<br>
     -           Channel-038    Customer Direct Contract Advisory<br>
     -           Channel-039    Customer Direct Contract Advisory Response<br>
     -           Channel-040    Notification of ECS Annual Consumption<br>
     -           Channel-041    Cumulative Meter Reading<br>
     -           Channel-042    Customer Name Information<br>
     -           Channel-043    Registration Service Notification of Change of Connection Type<br>
     -           Channel-044    Registration Service Notification of Change of Segment<br>
     -           Channel-045    Registration Service Notification of Invalid Segment or No Agents Appointed<br>
     -           Channel-047    Notification of the Publication of a Downloadable Asset<br>
     -           Channel-050    EES Exclusive Updates<br><br>
     **New for IR7 - CR023 MDR Reports**<br><br>
     -           Channel-061    MDR Start Request<br>
     -           Channel-062    MDR Start Request Response<br>
     -           Channel-063    MDR Stop Request<br>
     -           Channel-064    MDR Provide Consumption<br>
     -           Channel-065    MDR Request/Provide Meter Reading<br>
     <br>
     **ECS Reports**<br><br>
     -           REP-002   LDSO report for DUoS (LDSO) – aggregated data **<br>
     -           REP-002A  Embedded Network report for DUoS – aggregated data<br>
     -           REP-002B  LDSO report for DUoS (Supplier)– aggregated data<br>
     -           REP-003   BM Unit Allocated Demand Volumes to Market Participants<br>
     -           REP-003A  Aggregated BM Unit Allocated Demand Volumes to Market Participants<br>
     -           REP-004   Supplier Deemed Take Report<br>
     -           REP-006   Aggregated Uncorrected volumes by CCC to Market Participants<br>
     -           REP-007   VAS Exception Report to Suppliers and BSCCo<br>
     -           REP-008   MDS Exception Report to LDSOs<br>
     -           REP-009   EMRS Report for Suppliers<br><br>
     New reports introduced for e-billing of site-specific DUoS <br><br>
     -           REP-900   LDSO E-bill Distribution Invoice I<br>
     -           REP-901   LDSO E-bill Distribution Invoice II<br>
     <br>
     New for IR7.2 - DIP Message Validation APIs - see DIP Message Validation Endpoints Section below <br><br>
     ** examples available in post /dip-channel/{id}<br>  
     any comments please relay to design@mhhsprogramme.co.uk
servers:

  # Added by API Auto Mocking Plugin
  - description: SwaggerHub API Auto Mocking
    url: https://virtserver.swaggerhub.com/MHHSPROGRAMME/SubmitEvents/1.8.3


  # Apply the API key globally to all operations    
security:
  - ApiKeyAuth: []



paths:
  /dip-channel/{id}:
    summary: DIP Interface Channels
    description: Represents a single DIP messaging channel. Each interface/publication/report is identified by a 'id'
        
    post:
      summary: Submit a series of Interface messages 
      description: Allows a Market Participant to submit a series of messages on a DIP interface 
      operationId: sendMessage
      tags:
          - DIP Message Channel
      parameters:
        - $ref: '#/components/parameters/MessageChannel'
        - $ref: '#/components/parameters/CommonSignatureHeader'
        - $ref: '#/components/parameters/CommonSignatureDateHeader'
        - $ref: '#/components/parameters/CommonSHA256Header'
        - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'

        
      requestBody:
        required: true
        content:
          application/json:
            schema:
                $ref: '#/components/schemas/DIPMessageArray'
            examples:
              IF-001-InitialRegistration:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/IF-001-InitialRegistration'
              IF-001-ChangeOfSupplier:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/IF-001-ChangeOfSupplier'
              IF-002:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/IF-002'
              IF-003-MSDeAppRM:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/IF-003-MSDeAppRM'
              IF-021:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/IF-021'
              IF-037-MSDeApp:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/IF-037-MSDeApp'
              IF-043:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/IF-043'
              IF-044:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/IF-044'
              REP-002:
                $ref:  'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Examples/0.6#/components/examples/REP-002'


      responses:
        '201':
          description: Messages created
          content: 
            application/json:
              schema:
                  $ref: '#/components/schemas/StandardResponse'
              example:
                messageArray:
                  - transactionID: "T-IF-021-1401234567-SDS-20220321-1234CC0123456789"
                    senderUniqueReference: "S-IF-021-1401234567-SUP-20220321-12345687a1234567a"
                    correlationID: null 
                    sentTimestamp: "2022-03-21T11:15:59+00:00"
                    senderID: "00000000000"
                    recipientID: "1401234567"
                    DIPConnectionProviderID: null 
                    message: "MSG0000"
                    help: null
                    serviceTicketURL: "not yet implemented"
                  - transactionID: "T-IF-021-1401234567-SDS-20220321-1234CC0123456780"
                    senderUniqueReference: "S-IF-021-1401234567-SUP-20220321-12345687a1234567b"
                    correlationID: null 
                    sentTimestamp: "2022-03-21T11:15:59+00:00"
                    senderID: "00000000000"
                    recipientID: "1401234567"
                    DIPConnectionProviderID: null 
                    message: "MSG0000"
                    help: null
                    serviceTicketURL: "not yet implemented"
                timestamp: "2022-03-21T11:16:01+00:00"

# 207 is not implemented as L1 validation happens to a batch of messages in a single operation. Either all
# messages are either rejected or accepted.

        '207':
          description: Some messages created
          content: 
            application/json:
              schema:
                  $ref: '#/components/schemas/StandardResponse'
              example:
                messageArray:
                  - transactionID: "T-IF-005-1223456789-MSS-20220401-1234CC0123456789"
                    senderUniqueReference: "S-IF-005-1223456789-MSS-20220401-12345687a1234567a"
                    correlationID: "CI-20220401-1234567890123abce123092"
                    sentTimestamp: "2022-04-01T19:05:00+00:00"
                    senderID: "00000000000"
                    recipientID: "1223456789"
                    DIPConnectionProviderID: null 
                    message: "MSG0000"
                    help: null
                    serviceTicketURL: "not yet implemented"
                  - transactionID: "T-IF-005-1223456789-MSS-20220401-1234CC012345678a"
                    senderUniqueReference: "S-IF-005-1223456789-MSS-20220401-12345687a1234567b"
                    correlationID: null 
                    sentTimestamp: "2022-04-01T19:05:00+00:00"
                    senderID: "00000000000"
                    recipientID: "1223456789"
                    DIPConnectionProviderID: null 
                    message: "MSG1000 - Message failed"
                    help: null
                    serviceTicketURL: "not yet implemented"
                timestamp: "2022-04-01T19:05:01+00:00"
                  
        '400':
          description: Bad Request
          content: 
            application/json:
              schema:
                  $ref: '#/components/schemas/StandardResponse'
              example:
                messageArray:
                  - transactionID: null 
                    senderUniqueReference: null 
                    correlationID: null
                    sentTimestamp: "2022-04-01T19:05:00+00:00"
                    senderID: "00000000000"
                    recipientID: "1123456789"
                    DIPConnectionProviderID: null 
                    message: "MSG1001 -Schema Failure"
                    help: null
                    serviceTicketURL: "not yet implemented"
                timestamp: "2022-04-01T19:05:01+00:00"
        
        '401':
          description: Unauthorised Error            
        '403':
          description: Forbidden
        '404':
          description: Not found
        '405': 
          description: Method Not Allowed
        '406': 
          description: Not Acceptable
        '408':
          description: Request Timeout
        '413': 
          description: Payload Too Large
        '429':
          description: Too Many Requests
          
        '500':
          description: Internal Server Error
        '502': 
          description: Bad Gateway
        '503':
          description: Service Unavailable
        '504': 
          description: Gateway Timeout
        '505':
          description: HTTP Version Not Supported
          
         # 
           
      
  /dip-channel/{id}/pubconfig/{recipient-id}:
    post:
      summary: Configure DIP Channel Publication  
      description: Allows a Market Participant to configure the output channel 
      operationId: configurePublication 
      tags:  
          - DIP Channel Publication Configuration 
      parameters:
        - $ref: '#/components/parameters/MessageChannel'
        - $ref: '#/components/parameters/MessageRecipientId'
        - $ref: '#/components/parameters/CommonSignatureHeader'
        - $ref: '#/components/parameters/CommonSignatureDateHeader'
        - $ref: '#/components/parameters/CommonSHA256Header'
        - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'

      requestBody:
        required: true
        content:
          application/json:
            schema:
                $ref: '#/components/schemas/WebhookConfig'
                
      callbacks:
        outEvent:
          '{$request.body#/config.callbackURL}':
            post:
              parameters:
                - $ref: '#/components/parameters/CommonSignatureHeader'
                - $ref: '#/components/parameters/CommonSignatureDateHeader'
                - $ref: '#/components/parameters/CommonSHA256Header'
                - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'
                - $ref: '#/components/parameters/CommonMPODetails'

              requestBody:
                required: true
                content:
                  application/json:
                    schema:
                        $ref: '#/components/schemas/DIPMessageEgressArray' # DIN-892
          
              responses:
                '201':
                  description: Messages Created
                  content: 
                    application/json:
                      schema:
                          $ref: '#/components/schemas/StandardResponse'
                        
                '207':  
                  description: Some Messages Created
                  content: 
                    application/json:
                      schema:
                          $ref: '#/components/schemas/StandardResponse'
                          
                '400': # no retry  DIN-974 
                  description: Bad Request
                  content: 
                    application/json:
                      schema:
                          $ref: '#/components/schemas/StandardResponse'
                  
                '401': # no retry
                  description: Unauthorised Error            
                '403': # no retry
                  description: Forbidden
                '404': # no retry
                  description: Not found
                '405': # no retry
                  description: Method Not Allowed
                '406': # no retry
                  description: Not Acceptable
                '408': # retry
                  description: Request Timeout
                '413': # no retry
                  description: Payload Too Large
                '429': # retry
                  description: Too Many Requests
                  
                '500': # retry
                  description: Internal Server Error
                '502': # retry
                  description: Bad Gateway
                '503': # retry
                  description: Service Unavailable
                '504': # retry
                  description: Gateway Timeout
                '505': # no retry
                  description: HTTP Version Not Supported              


      responses:
        '201':
            description: Publication configured 
        '400':
            description: Bad Request
        '401':
            description: Unauthorised Error            
        '403':
            description: Forbidden
            
    delete:
      summary: Delete existing Publication configuration 
      description: Delete an exisiting webhook for PUB-001 publication
      tags:
          - DIP Channel Publication Configuration 
      parameters:
        - $ref: '#/components/parameters/MessageChannel'
        - $ref: '#/components/parameters/MessageRecipientId'
        - $ref: '#/components/parameters/CommonSignatureHeader'
        - $ref: '#/components/parameters/CommonSignatureDateHeader'
        - $ref: '#/components/parameters/CommonSHA256Header'
        - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'

      responses:
        '204':
            description: No Content
        '401':
            description: Unauthorised Error            

### Message Replay

  /dip-channel/{id}/replay/{recipient-id}:
    post:
      summary: Replay messages from a DIP Channel Publication  
      description: Allows a Market Participant to replay messages  
      operationId: replayPublication
      tags: 
          - DIP Channel Replay/Requeue
      parameters:
        - $ref: '#/components/parameters/MessageChannel'
        - $ref: '#/components/parameters/MessageRecipientId'
        - $ref: '#/components/parameters/CommonSignatureHeader'
        - $ref: '#/components/parameters/CommonSignatureDateHeader'
        - $ref: '#/components/parameters/CommonSHA256Header'
        - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'

      requestBody:
        required: true
        content:
          application/json:
            schema:
                $ref: '#/components/schemas/MessageRequest'
                

      responses:
        '200':
          description: Replayed Messages 
          content: 
            application/json:
              schema:
                $ref: '#/components/schemas/DIPMessageEgressArray'

        '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    $ref: '#/components/schemas/StandardResponse'
            
        '401':
            description: Unauthorised Error            
        '403':
            description: Forbidden

  /dip-channel/{id}/requeue/{recipient-id}:
    post:
      summary: Requeue messages on DIP Channel webhook  
      description: Allows a Market Participant to replay messages  
      operationId: requeuePublication
      tags: 
          - DIP Channel Replay/Requeue
      parameters:
        - $ref: '#/components/parameters/MessageChannel'
        - $ref: '#/components/parameters/MessageRecipientId'
        - $ref: '#/components/parameters/CommonSignatureHeader'
        - $ref: '#/components/parameters/CommonSignatureDateHeader'
        - $ref: '#/components/parameters/CommonSHA256Header'
        - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'

      requestBody:
        required: true
        content:
          application/json:
            schema:
                $ref: '#/components/schemas/MessageRequest'
                
      responses:
        '200':
          description: Messages requeued

        '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    $ref: '#/components/schemas/StandardResponse'
        '401':
            description: Unauthorised Error            
        '403':
            description: Forbidden

  /statusmessage: 
    post:
      summary: Submit a series of status messages
      description: Allows a Market Participant to submit a series of status messages 
      operationId: submitStatusMessage
      tags: 
        - Status Messages
      parameters:
        - $ref: '#/components/parameters/CommonSignatureHeader'
        - $ref: '#/components/parameters/CommonSignatureDateHeader'
        - $ref: '#/components/parameters/CommonSHA256Header'
        - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'


      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StandardResponseArray'

      responses:
        '201':
          description: Created
          content: 
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'

        '400':
          description: Bad Request
          content: 
            application/json:
              schema:
                  $ref: '#/components/schemas/StandardResponse'

        '401':
          description: Unauthorised Error            
        '403':
          description: Forbidden
        '404':
          description: Not found
        '405': 
          description: Method Not Allowed
        '406': 
          description: Not Acceptable
        '408':
          description: Request Timeout
        '413': 
          description: Payload Too Large
        '429':
          description: Too Many Requests
          
        '500':
          description: Internal Server Error
        '502': 
          description: Bad Gateway
        '503':
          description: Service Unavailable
        '504': 
          description: Gateway Timeout
        '505':
          description: HTTP Version Not Supported


  /statusmessage/config/{recipient-id}:
    parameters:
        - $ref: '#/components/parameters/MessageRecipientId'
        - $ref: '#/components/parameters/CommonSignatureHeader'
        - $ref: '#/components/parameters/CommonSignatureDateHeader'
        - $ref: '#/components/parameters/CommonSHA256Header'
        - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'
    post:
      summary: Webhook to pull a series of status messages
      description: Allows a Market Participant to get a series of status messages 
      operationId: postStatusMsgWebhook
      tags: 
        - Status Messages
      
      requestBody:
        required: true
        content:
          application/json:
            schema:
                $ref: '#/components/schemas/WebhookConfig'
                
# DIN-974 -Align Callback to DIP Status Message defn      

      callbacks:
        outEvent:
          '{$request.body#/config.callbackURL}':
            post:
              parameters:
                - $ref: '#/components/parameters/CommonSignatureHeader'
                - $ref: '#/components/parameters/CommonSignatureDateHeader'
                - $ref: '#/components/parameters/CommonSHA256Header'
                - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'
                - $ref: '#/components/parameters/CommonMPODetails'

              requestBody:
                required: true
                content:
                  application/json:
                    schema:
                        $ref: '#/components/schemas/StandardResponseArray'                    
                        
              responses:
                '201':
                  description: Messages Created
                  content: 
                    application/json:
                      schema:
                          $ref: '#/components/schemas/StandardResponse'
                        
                '207':  
                  description: Some Messages Created
                  content: 
                    application/json:
                      schema:
                          $ref: '#/components/schemas/StandardResponse'
                          
                '400': # no retry
                  description: Bad Request
                  content: 
                    application/json:
                      schema:
                          $ref: '#/components/schemas/StandardResponse'

                '401': # no retry
                  description: Unauthorised Error            
                '403': # no retry
                  description: Forbidden
                '404': # no retry
                  description: Not found
                '405': # no retry
                  description: Method Not Allowed
                '406': # no retry
                  description: Not Acceptable
                '408': # retry
                  description: Request Timeout
                '413': # no retry
                  description: Payload Too Large
                '429': # retry
                  description: Too Many Requests
                  
                '500': # retry
                  description: Internal Server Error
                '502': # retry
                  description: Bad Gateway
                '503': # retry
                  description: Service Unavailable
                '504': # retry
                  description: Gateway Timeout
                '505': # no retry
                  description: HTTP Version Not Supported              

      responses:
        '201':
            description: Publication configured 
        '400':
            description: Bad Request
        '401':
            description: Unauthorised Error            
        '403':
            description: Forbidden

    delete:
      summary: Delete existing Status Message configuration 
      description: Delete an exisiting webhook for Status Messages 
      tags:
        - Status Messages
      parameters:
        - $ref: '#/components/parameters/MessageRecipientId'
        - $ref: '#/components/parameters/CommonSignatureHeader'
        - $ref: '#/components/parameters/CommonSignatureDateHeader'
        - $ref: '#/components/parameters/CommonSHA256Header'
        - $ref: '#/components/parameters/CommonSignatureCertifcateHeader'
      
      responses:
        '204':
            description: No Content
        '401':
            description: Unauthorised Error            

#####################
  /validate/IF-001/InitialRegistration:
      summary: DIP Interface Validation for IF-001
      description: Validates DIP messages. Need to specify message channel IF-001 and the event code InitialRegistration
          
      post:
        summary: Submit IF-001 with Event Code InitialRegistration message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-001-InitialRegistration
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-001-InitialRegistration'
  
        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  
  
          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string

  /validate/IF-001/ChangeOfSupplier:
      summary: DIP Interface Validation for IF-001
      description: Validates DIP messages. Need to specify message channel IF-001 and the event code ChangeOfSupplier
          
      post:
        summary: Submit IF-001 with Event Code ChangeOfSupplier message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-001-ChangeOfSupplier
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-001-ChangeOfSupplier'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string

  /validate/IF-002/GainMPANInfo:
      summary: DIP Interface Validation for IF-002
      description: Validates DIP messages. Need to specify message channel IF-002 and the event code GainMPANInfo
          
      post:
        summary: Submit IF-002 with Event Code GainMPANInfo message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-002-GainMPANInfo
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-002-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-003/ReverseMigNotification:
      summary: DIP Interface Validation for IF-003
      description: Validates DIP messages. Need to specify message channel IF-003 and the event code ReverseMigNotification
          
      post:
        summary: Submit IF-003 with Event Code ReverseMigNotification message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-003-ReverseMigNotification
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-003-ReverseMigNotification'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-003/MSDeAppRM:
      summary: DIP Interface Validation for IF-003
      description: Validates DIP messages. Need to specify message channel IF-003 and the event code MSDeAppRM
          
      post:
        summary: Submit IF-003 with Event Code MSDeAppRM message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-003-MSDeAppRM
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-003-MSDeAppRM'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-003/DSDeAppRM:
      summary: DIP Interface Validation for IF-003
      description: Validates DIP messages. Need to specify message channel IF-003 and the event code DSDeAppRM
          
      post:
        summary: Submit IF-003 with Event Code DSDeAppRM message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-003-DSDeAppRM
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-003-DSDeAppRM'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  

  /validate/IF-004/CommsHubInfo:
      summary: DIP Interface Validation for IF-004
      description: Validates DIP messages. Need to specify message channel IF-004 and the event code CommsHubInfo
          
      post:
        summary: Submit IF-004 with Event Code CommsHubInfo message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-004-CommsHubInfo
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-004-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-005/MeterInstall:
      summary: DIP Interface Validation for IF-005
      description: Validates DIP messages. Need to specify message channel IF-005 and the event code MeterInstall
          
      post:
        summary: Submit IF-005 with Event Code MeterInstall message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-005-MeterInstall
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-005-MeterInstall'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-005/MeterRemoval:
      summary: DIP Interface Validation for IF-005
      description: Validates DIP messages. Need to specify message channel IF-005 and the event code MeterRemoval
          
      post:
        summary: Submit IF-005 with Event Code MeterRemoval message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-005-MeterRemoval
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-005-MeterRemoval'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-005/MeterExchange:
      summary: DIP Interface Validation for IF-005
      description: Validates DIP messages. Need to specify message channel IF-005 and the event code MeterExchange
          
      post:
        summary: Submit IF-005 with Event Code MeterExchange message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-005-MeterExchange
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-005-MeterExchange'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-005/MeterUpdate:
      summary: DIP Interface Validation for IF-005
      description: Validates DIP messages. Need to specify message channel IF-005 and the event code MeterUpdate
          
      post:
        summary: Submit IF-005 with Event Code MeterUpdate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-005-MeterUpdate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-005-MeterUpdate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-005/MeterHistoryUpdate:
      summary: DIP Interface Validation for IF-005
      description: Validates DIP messages. Need to specify message channel IF-005 and the event code MeterHistoryUpdate
          
      post:
        summary: Submit IF-005 with Event Code MeterHistoryUpdate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-005-MeterHistoryUpdate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-005-MeterHistoryUpdate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-006/MeterInstall:
      summary: DIP Interface Validation for IF-006
      description: Validates DIP messages. Need to specify message channel IF-006 and the event code MeterInstall
          
      post:
        summary: Submit IF-006 with Event Code MeterInstall message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-006-MeterInstall
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-006-MeterInstall'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-006/MeterRemoval:
      summary: DIP Interface Validation for IF-006
      description: Validates DIP messages. Need to specify message channel IF-006 and the event code MeterRemoval
          
      post:
        summary: Submit IF-006 with Event Code MeterRemoval message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-006-MeterRemoval
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-006-MeterRemoval'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-006/MeterExchange:
      summary: DIP Interface Validation for IF-006
      description: Validates DIP messages. Need to specify message channel IF-006 and the event code MeterExchange
          
      post:
        summary: Submit IF-006 with Event Code MeterExchange message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-006-MeterExchange
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-006-MeterExchange'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-006/MeterUpdate:
      summary: DIP Interface Validation for IF-006
      description: Validates DIP messages. Need to specify message channel IF-006 and the event code MeterUpdate
          
      post:
        summary: Submit IF-006 with Event Code MeterUpdate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-006-MeterUpdate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-006-MeterUpdate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-006/MeterHistoryUpdate:
      summary: DIP Interface Validation for IF-006
      description: Validates DIP messages. Need to specify message channel IF-006 and the event code MeterHistoryUpdate
          
      post:
        summary: Submit IF-006 with Event Code MeterHistoryUpdate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-006-MeterHistoryUpdate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-006-MeterHistoryUpdate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-007/EnergisationStatusChange:
      summary: DIP Interface Validation for IF-007
      description: Validates DIP messages. Need to specify message channel IF-007 and the event code EnergisationStatusChange
          
      post:
        summary: Submit IF-007 with Event Code EnergisationStatusChange message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-007-EnergisationStatusChange
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-007-EnergisationStatusChange'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-007/EnergisationStatusFailure:
      summary: DIP Interface Validation for IF-007
      description: Validates DIP messages. Need to specify message channel IF-007 and the event code EnergisationStatusFailure
          
      post:
        summary: Submit IF-007 with Event Code EnergisationStatusFailure message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-007-EnergisationStatusFailure
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-007-EnergisationStatusFailure'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-008/EnergisationStatusChange:
      summary: DIP Interface Validation for IF-008
      description: Validates DIP messages. Need to specify message channel IF-008 and the event code EnergisationStatusChange
          
      post:
        summary: Submit IF-008 with Event Code EnergisationStatusChange message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-008-EnergisationStatusChange
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-008-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-009/MPANDisconnection:
      summary: DIP Interface Validation for IF-009
      description: Validates DIP messages. Need to specify message channel IF-009 and the event code MPANDisconnection
          
      post:
        summary: Submit IF-009 with Event Code MPANDisconnection message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-009-MPANDisconnection
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-009-MPANDisconnection'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string

  /validate/IF-009/MPANReconnection:
      summary: DIP Interface Validation for IF-009
      description: Validates DIP messages. Need to specify message channel IF-009 and the event code MPANReconnection
          
      post:
        summary: Submit IF-009 with Event Code MPANReconnection message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-009-MPANReconnection
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-009-MPANReconnection'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  

  /validate/IF-009/CSSDeRegistration:
      summary: DIP Interface Validation for IF-009
      description: Validates DIP messages. Need to specify message channel IF-009 and the event code CSSDeRegistration
          
      post:
        summary: Submit IF-009 with Event Code CSSDeRegistration message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-009-CSSDeRegistration
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-009-CSSDeRegistration'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-013/ActivePowerDefaulted:
      summary: DIP Interface Validation for IF-013
      description: Validates DIP messages. Need to specify message channel IF-013 and the event code ActivePowerDefaulted
          
      post:
        summary: Submit IF-013 with Event Code ActivePowerDefaulted message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-013-ActivePowerDefaulted
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-013-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-014/ActivePowerRejected:
      summary: DIP Interface Validation for IF-014
      description: Validates DIP messages. Need to specify message channel IF-014 and the event code ActivePowerRejected
          
      post:
        summary: Submit IF-014 with Event Code ActivePowerRejected message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-014-ActivePowerRejected
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-014-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-014/ConsumptionOnDeEnergisedMPAN:
      summary: DIP Interface Validation for IF-014
      description: Validates DIP messages. Need to specify message channel IF-014 and the event code ConsumptionOnDeEnergisedMPAN
          
      post:
        summary: Submit IF-014 with Event Code ConsumptionOnDeEnergisedMPAN message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-014-ConsumptionOnDeEnergisedMPAN
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-014-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-015/ConsumptionReplay:
      summary: DIP Interface Validation for IF-015
      description: Validates DIP messages. Need to specify message channel IF-015 and the event code ConsumptionReplay
          
      post:
        summary: Submit IF-015 with Event Code ConsumptionReplay message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-015-ConsumptionReplay
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-015-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-018/AddressChg:
      summary: DIP Interface Validation for IF-018
      description: Validates DIP messages. Need to specify message channel IF-018 and the event code AddressChg
          
      post:
        summary: Submit IF-018 with Event Code AddressChg message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-018-AddressChg
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-AddressChg'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-018/GSPChg:
      summary: DIP Interface Validation for IF-018
      description: Validates DIP messages. Need to specify message channel IF-018 and the event code GSPChg
          
      post:
        summary: Submit IF-018 with Event Code GSPChg message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-018-GSPChg
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-GSPChg'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-018/DUOSTariffIDChg:
      summary: DIP Interface Validation for IF-018
      description: Validates DIP messages. Need to specify message channel IF-018 and the event code DUOSTariffIDChg
          
      post:
        summary: Submit IF-018 with Event Code DUOSTariffIDChg message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-018-DUOSTariffIDChg
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-DUOSTariffIDChg'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-018/DomPremInd:
      summary: DIP Interface Validation for IF-018
      description: Validates DIP messages. Need to specify message channel IF-018 and the event code DomPremInd
          
      post:
        summary: Submit IF-018 with Event Code DomPremInd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-018-DomPremInd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-DomPremInd'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-018/EnergyDirection:
      summary: DIP Interface Validation for IF-018
      description: Validates DIP messages. Need to specify message channel IF-018 and the event code EnergyDirection
          
      post:
        summary: Submit IF-018 with Event Code EnergyDirection message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-018-EnergyDirection
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-EnergyDirection'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-018/DCCEnrolment:
      summary: DIP Interface Validation for IF-018
      description: Validates DIP messages. Need to specify message channel IF-018 and the event code DCCEnrolment
          
      post:
        summary: Submit IF-018 with Event Code DCCEnrolment message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-018-DCCEnrolment
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-DCCEnrolment'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-018/MUMIndicator:
      summary: DIP Interface Validation for IF-018
      description: Validates DIP messages. Need to specify message channel IF-018 and the event code MUMIndicator
          
      post:
        summary: Submit IF-018 with Event Code MUMIndicator message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-018-MUMIndicator
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-MUMIndicator'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-019/LinkedImportExportCreate:
      summary: DIP Interface Validation for IF-019
      description: Validates DIP messages. Need to specify message channel IF-019 and the event code LinkedImportExportCreate
          
      post:
        summary: Submit IF-019 with Event Code LinkedImportExportCreate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-019-LinkedImportExportCreate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-019-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-019/LinkedImportExportAdd:
      summary: DIP Interface Validation for IF-019
      description: Validates DIP messages. Need to specify message channel IF-019 and the event code LinkedImportExportAdd
          
      post:
        summary: Submit IF-019 with Event Code LinkedImportExportAdd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-019-LinkedImportExportAdd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-019-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-019/LinkedImportExportRemove:
      summary: DIP Interface Validation for IF-019
      description: Validates DIP messages. Need to specify message channel IF-019 and the event code LinkedImportExportRemove
          
      post:
        summary: Submit IF-019 with Event Code LinkedImportExportRemove message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-019-LinkedImportExportRemove
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-019-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-019/RelatedCreate:
      summary: DIP Interface Validation for IF-019
      description: Validates DIP messages. Need to specify message channel IF-019 and the event code RelatedCreate
          
      post:
        summary: Submit IF-019 with Event Code RelatedCreate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-019-RelatedCreate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-019-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-019/RelatedAdd:
      summary: DIP Interface Validation for IF-019
      description: Validates DIP messages. Need to specify message channel IF-019 and the event code RelatedAdd
          
      post:
        summary: Submit IF-019 with Event Code RelatedAdd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-019-RelatedAdd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-019-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-019/RelatedRemove:
      summary: DIP Interface Validation for IF-019
      description: Validates DIP messages. Need to specify message channel IF-019 and the event code RelatedRemove
          
      post:
        summary: Submit IF-019 with Event Code RelatedRemove message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-019-RelatedRemove
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-019-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-020/LinkedImportExportCreate:
      summary: DIP Interface Validation for IF-020
      description: Validates DIP messages. Need to specify message channel IF-020 and the event code LinkedImportExportCreate
          
      post:
        summary: Submit IF-020 with Event Code LinkedImportExportCreate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-020-LinkedImportExportCreate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-020-LinkedImportExportCreate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-020/LinkedImportExportAdd:
      summary: DIP Interface Validation for IF-020
      description: Validates DIP messages. Need to specify message channel IF-020 and the event code LinkedImportExportAdd
          
      post:
        summary: Submit IF-020 with Event Code LinkedImportExportAdd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-020-LinkedImportExportAdd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-020-LinkedImportExportAdd'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-020/LinkedImportExportRemove:
      summary: DIP Interface Validation for IF-020
      description: Validates DIP messages. Need to specify message channel IF-020 and the event code LinkedImportExportRemove
          
      post:
        summary: Submit IF-020 with Event Code LinkedImportExportRemove message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-020-LinkedImportExportRemove
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-020-LinkedImportExportRemove'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-020/RelatedCreate:
      summary: DIP Interface Validation for IF-020
      description: Validates DIP messages. Need to specify message channel IF-020 and the event code RelatedCreate
          
      post:
        summary: Submit IF-020 with Event Code RelatedCreate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-020-RelatedCreate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-020-RelatedCreate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-020/RelatedAdd:
      summary: DIP Interface Validation for IF-020
      description: Validates DIP messages. Need to specify message channel IF-020 and the event code RelatedAdd
          
      post:
        summary: Submit IF-020 with Event Code RelatedAdd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-020-RelatedAdd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-020-RelatedAdd'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-020/RelatedRemove:
      summary: DIP Interface Validation for IF-020
      description: Validates DIP messages. Need to specify message channel IF-020 and the event code RelatedRemove
          
      post:
        summary: Submit IF-020 with Event Code RelatedRemove message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-020-RelatedRemove
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-020-RelatedRemove'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-021/ActivePower:
      summary: DIP Interface Validation for IF-021
      description: Validates DIP messages. Need to specify message channel IF-021 and the event code ActivePower
          
      post:
        summary: Submit IF-021 with Event Code ActivePower message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-021-ActivePower
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-021-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-021/ReactivePower:
      summary: DIP Interface Validation for IF-021
      description: Validates DIP messages. Need to specify message channel IF-021 and the event code ReactivePower
          
      post:
        summary: Submit IF-021 with Event Code ReactivePower message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-021-ReactivePower
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-021-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-022/LSSPeriodData:
      summary: DIP Interface Validation for IF-022
      description: Validates DIP messages. Need to specify message channel IF-022 and the event code LSSPeriodData
          
      post:
        summary: Submit IF-022 with Event Code LSSPeriodData message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-022-LSSPeriodData
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-022-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-023/LSSTotalsData:
      summary: DIP Interface Validation for IF-023
      description: Validates DIP messages. Need to specify message channel IF-023 and the event code LSSTotalsData
          
      post:
        summary: Submit IF-023 with Event Code LSSTotalsData message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-023-LSSTotalsData
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-023-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-024/SN-Vacant:
      summary: DIP Interface Validation for IF-024
      description: Validates DIP messages. Need to specify message channel IF-024 and the event code SN-Vacant
          
      post:
        summary: Submit IF-024 with Event Code SN-Vacant message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-024-SN-Vacant
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-024-SN-Vacant'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-024/SN-NoComms:
      summary: DIP Interface Validation for IF-024
      description: Validates DIP messages. Need to specify message channel IF-024 and the event code SN-NoComms
          
      post:
        summary: Submit IF-024 with Event Code SN-NoComms message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-024-SN-NoComms
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-024-SN-NoComms'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-024/SN-RemoteEnabled:
      summary: DIP Interface Validation for IF-024
      description: Validates DIP messages. Need to specify message channel IF-024 and the event code SN-RemoteEnabled
          
      post:
        summary: Submit IF-024 with Event Code SN-RemoteEnabled message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-024-SN-RemoteEnabled
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-024-SN-RemoteEnabled'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-024/SN-RemoteDisabled:
      summary: DIP Interface Validation for IF-024
      description: Validates DIP messages. Need to specify message channel IF-024 and the event code SN-RemoteDisabled
          
      post:
        summary: Submit IF-024 with Event Code SN-RemoteDisabled message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-024-SN-RemoteDisabled
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-024-SN-RemoteDisabled'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-024/SN-SupplierAC:
      summary: DIP Interface Validation for IF-024
      description: Validates DIP messages. Need to specify message channel IF-024 and the event code SN-SupplierAC
          
      post:
        summary: Submit IF-024 with Event Code SN-SupplierAC message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-024-SN-SupplierAC
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-024-SN-SupplierAC'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-024/SN-OffPeakDec:
      summary: DIP Interface Validation for IF-024
      description: Validates DIP messages. Need to specify message channel IF-024 and the event code SN-OffPeakDec
          
      post:
        summary: Submit IF-024 with Event Code SN-OffPeakDec message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-024-SN-OffPeakDec
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-024-SN-OffPeakDec'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-025/ConsentGranularity:
      summary: DIP Interface Validation for IF-025
      description: Validates DIP messages. Need to specify message channel IF-025 and the event code ConsentGranularity
          
      post:
        summary: Submit IF-025 with Event Code ConsentGranularity message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-025-ConsentGranularity
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-025-ConsentGranularity'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-025/IHDInfo:
      summary: DIP Interface Validation for IF-025
      description: Validates DIP messages. Need to specify message channel IF-025 and the event code IHDInfo
          
      post:
        summary: Submit IF-025 with Event Code IHDInfo message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-025-IHDInfo
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-025-IHDInfo'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-025/SMSO:
      summary: DIP Interface Validation for IF-025
      description: Validates DIP messages. Need to specify message channel IF-025 and the event code SMSO
          
      post:
        summary: Submit IF-025 with Event Code SMSO message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-025-SMSO
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-025-SMSO'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-025/SSCandProfileClass:
      summary: DIP Interface Validation for IF-025
      description: Validates DIP messages. Need to specify message channel IF-025 and the event code SSCandProfileClass
          
      post:
        summary: Submit IF-025 with Event Code SSCandProfileClass message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-025-SSCandProfileClass
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-025-SSCandProfileClass'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-026/ConsentGranularity:
      summary: DIP Interface Validation for IF-026
      description: Validates DIP messages. Need to specify message channel IF-026 and the event code ConsentGranularity
          
      post:
        summary: Submit IF-026 with Event Code ConsentGranularity message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-026-ConsentGranularity
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-026-ConsentGranularity'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-026/IHDInfo:
      summary: DIP Interface Validation for IF-026
      description: Validates DIP messages. Need to specify message channel IF-026 and the event code IHDInfo
          
      post:
        summary: Submit IF-026 with Event Code IHDInfo message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-026-IHDInfo
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-026-IHDInfo'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-026/SMSO:
      summary: DIP Interface Validation for IF-026
      description: Validates DIP messages. Need to specify message channel IF-026 and the event code SMSO
          
      post:
        summary: Submit IF-026 with Event Code SMSO message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-026-SMSO
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-026-SMSO'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-026/SSCandProfileClass:
      summary: DIP Interface Validation for IF-026
      description: Validates DIP messages. Need to specify message channel IF-026 and the event code SSCandProfileClass
          
      post:
        summary: Submit IF-026 with Event Code SSCandProfileClass message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-026-SSCandProfileClass
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-026-SSCandProfileClass'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-027/ConsumptionAmendment:
      summary: DIP Interface Validation for IF-027
      description: Validates DIP messages. Need to specify message channel IF-027 and the event code ConsumptionAmendment
          
      post:
        summary: Submit IF-027 with Event Code ConsumptionAmendment message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-027-ConsumptionAmendment
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-027-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-028/ConsumptionAmendment:
      summary: DIP Interface Validation for IF-028
      description: Validates DIP messages. Need to specify message channel IF-028 and the event code ConsumptionAmendment
          
      post:
        summary: Submit IF-028 with Event Code ConsumptionAmendment message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-028-ConsumptionAmendment
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-028-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-031/MSApp:
      summary: DIP Interface Validation for IF-031
      description: Validates DIP messages. Need to specify message channel IF-031 and the event code MSApp
          
      post:
        summary: Submit IF-031 with Event Code MSApp message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-031-MSApp
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-031-MSApp'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-031/DSApp:
      summary: DIP Interface Validation for IF-031
      description: Validates DIP messages. Need to specify message channel IF-031 and the event code DSApp
          
      post:
        summary: Submit IF-031 with Event Code DSApp message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-031-DSApp
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-031-DSApp'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-032/MSAppInitialResp:
      summary: DIP Interface Validation for IF-032
      description: Validates DIP messages. Need to specify message channel IF-032 and the event code MSAppInitialResp
          
      post:
        summary: Submit IF-032 with Event Code MSAppInitialResp message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-032-MSAppInitialResp
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-032-MSAppInitialResp'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-032/DSAppInitialResp:
      summary: DIP Interface Validation for IF-032
      description: Validates DIP messages. Need to specify message channel IF-032 and the event code DSAppInitialResp
          
      post:
        summary: Submit IF-032 with Event Code DSAppInitialResp message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-032-DSAppInitialResp
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-032-DSAppInitialResp'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-033/MSAppSPRequest:
      summary: DIP Interface Validation for IF-033
      description: Validates DIP messages. Need to specify message channel IF-033 and the event code MSAppSPRequest
          
      post:
        summary: Submit IF-033 with Event Code MSAppSPRequest message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-033-MSAppSPRequest
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-033-MSAppSPRequest'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-033/DSAppSPRequest:
      summary: DIP Interface Validation for IF-033
      description: Validates DIP messages. Need to specify message channel IF-033 and the event code DSAppSPRequest
          
      post:
        summary: Submit IF-033 with Event Code DSAppSPRequest message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-033-DSAppSPRequest
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-033-DSAppSPRequest'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-034/MSAppSPResponse:
      summary: DIP Interface Validation for IF-034
      description: Validates DIP messages. Need to specify message channel IF-034 and the event code MSAppSPResponse
          
      post:
        summary: Submit IF-034 with Event Code MSAppSPResponse message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-034-MSAppSPResponse
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-034-MSAppSPResponse'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-034/DSAppSPResponse:
      summary: DIP Interface Validation for IF-034
      description: Validates DIP messages. Need to specify message channel IF-034 and the event code DSAppSPResponse
          
      post:
        summary: Submit IF-034 with Event Code DSAppSPResponse message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-034-DSAppSPResponse
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-034-DSAppSPResponse'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-034/SDS-MDRUpdate:
      summary: DIP Interface Validation for IF-034
      description: Validates DIP messages. Need to specify message channel IF-034 and the event code SDS-MDRUpdate
          
      post:
        summary: Submit IF-034 with Event Code SDS-MDRUpdate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-034-SDS-MDRUpdate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-034-SDS-MDRUpdate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/MSAppAccepted:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code MSAppAccepted
          
      post:
        summary: Submit IF-035 with Event Code MSAppAccepted message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-MSAppAccepted
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-MSAppAccepted'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/MSAppRejected:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code MSAppRejected
          
      post:
        summary: Submit IF-035 with Event Code MSAppRejected message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-MSAppRejected
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-MSAppRejected'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/MSAppLapsed:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code MSAppLapsed
          
      post:
        summary: Submit IF-035 with Event Code MSAppLapsed message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-MSAppLapsed
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-MSAppLapsed'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/DSAppAccepted:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code DSAppAccepted
          
      post:
        summary: Submit IF-035 with Event Code DSAppAccepted message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-DSAppAccepted
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-DSAppAccepted'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/DSAppRejected:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code DSAppRejected
          
      post:
        summary: Submit IF-035 with Event Code DSAppRejected message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-DSAppRejected
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-DSAppRejected'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/DSAppLapsed:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code DSAppLapsed
          
      post:
        summary: Submit IF-035 with Event Code DSAppLapsed message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-DSAppLapsed
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-DSAppLapsed'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/IMS-SendMTD:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code IMS-SendMTD
          
      post:
        summary: Submit IF-035 with Event Code IMS-SendMTD message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-IMS-SendMTD
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-IMS-SendMTD'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/SDS-MDROutcome:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code SDS-MDROutcome
          
      post:
        summary: Submit IF-035 with Event Code SDS-MDROutcome message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-SDS-MDROutcome
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-SDS-MDROutcome'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-035/DCC-MDROutcome:
      summary: DIP Interface Validation for IF-035
      description: Validates DIP messages. Need to specify message channel IF-035 and the event code DCC-MDROutcome
          
      post:
        summary: Submit IF-035 with Event Code DCC-MDROutcome message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-035-DCC-MDROutcome
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-DCC-MDROutcome'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-036/MSAppActive:
      summary: DIP Interface Validation for IF-036
      description: Validates DIP messages. Need to specify message channel IF-036 and the event code MSAppActive
          
      post:
        summary: Submit IF-036 with Event Code MSAppActive message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-036-MSAppActive
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-036-MSAppActive'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-036/DSAppActive:
      summary: DIP Interface Validation for IF-036
      description: Validates DIP messages. Need to specify message channel IF-036 and the event code DSAppActive
          
      post:
        summary: Submit IF-036 with Event Code DSAppActive message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-036-DSAppActive
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-036-DSAppActive'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-037/MSDeApp:
      summary: DIP Interface Validation for IF-037
      description: Validates DIP messages. Need to specify message channel IF-037 and the event code MSDeApp
          
      post:
        summary: Submit IF-037 with Event Code MSDeApp message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-037-MSDeApp
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-037-MSDeApp'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-037/DSDeApp:
      summary: DIP Interface Validation for IF-037
      description: Validates DIP messages. Need to specify message channel IF-037 and the event code DSDeApp
          
      post:
        summary: Submit IF-037 with Event Code DSDeApp message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-037-DSDeApp
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-037-DSDeApp'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-037/MSDeAppUpdate:
      summary: DIP Interface Validation for IF-037
      description: Validates DIP messages. Need to specify message channel IF-037 and the event code MSDeAppUpdate
          
      post:
        summary: Submit IF-037 with Event Code MSDeAppUpdate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-037-MSDeAppUpdate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-037-MSDeAppUpdate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-037/DSDeAppUpdate:
      summary: DIP Interface Validation for IF-037
      description: Validates DIP messages. Need to specify message channel IF-037 and the event code DSDeAppUpdate
          
      post:
        summary: Submit IF-037 with Event Code DSDeAppUpdate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-037-DSDeAppUpdate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-037-DSDeAppUpdate'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-038/DirectContractMSAdd:
      summary: DIP Interface Validation for IF-038
      description: Validates DIP messages. Need to specify message channel IF-038 and the event code DirectContractMSAdd
          
      post:
        summary: Submit IF-038 with Event Code DirectContractMSAdd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-038-DirectContractMSAdd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-038-DirectContractMSAdd'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-038/DirectContractDSAdd:
      summary: DIP Interface Validation for IF-038
      description: Validates DIP messages. Need to specify message channel IF-038 and the event code DirectContractDSAdd
          
      post:
        summary: Submit IF-038 with Event Code DirectContractDSAdd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-038-DirectContractDSAdd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-038-DirectContractDSAdd'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-038/DirectContractMSRemove:
      summary: DIP Interface Validation for IF-038
      description: Validates DIP messages. Need to specify message channel IF-038 and the event code DirectContractMSRemove
          
      post:
        summary: Submit IF-038 with Event Code DirectContractMSRemove message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-038-DirectContractMSRemove
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-038-DirectContractMSRemove'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-038/DirectContractDSRemove:
      summary: DIP Interface Validation for IF-038
      description: Validates DIP messages. Need to specify message channel IF-038 and the event code DirectContractDSRemove
          
      post:
        summary: Submit IF-038 with Event Code DirectContractDSRemove message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-038-DirectContractDSRemove
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-038-DirectContractDSRemove'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-039/DirectContractMSAdd:
      summary: DIP Interface Validation for IF-039
      description: Validates DIP messages. Need to specify message channel IF-039 and the event code DirectContractMSAdd
          
      post:
        summary: Submit IF-039 with Event Code DirectContractMSAdd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-039-DirectContractMSAdd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-039-DirectContractMSAdd'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-039/DirectContractDSAdd:
      summary: DIP Interface Validation for IF-039
      description: Validates DIP messages. Need to specify message channel IF-039 and the event code DirectContractDSAdd
          
      post:
        summary: Submit IF-039 with Event Code DirectContractDSAdd message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-039-DirectContractDSAdd
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-039-DirectContractDSAdd'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-039/DirectContractMSRemove:
      summary: DIP Interface Validation for IF-039
      description: Validates DIP messages. Need to specify message channel IF-039 and the event code DirectContractMSRemove
          
      post:
        summary: Submit IF-039 with Event Code DirectContractMSRemove message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-039-DirectContractMSRemove
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-039-DirectContractMSRemove'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-039/DirectContractDSRemove:
      summary: DIP Interface Validation for IF-039
      description: Validates DIP messages. Need to specify message channel IF-039 and the event code DirectContractDSRemove
          
      post:
        summary: Submit IF-039 with Event Code DirectContractDSRemove message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-039-DirectContractDSRemove
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-039-DirectContractDSRemove'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-040/AnnualConsumption:
      summary: DIP Interface Validation for IF-040
      description: Validates DIP messages. Need to specify message channel IF-040 and the event code AnnualConsumption
          
      post:
        summary: Submit IF-040 with Event Code AnnualConsumption message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-040-AnnualConsumption
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-040-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/ReadingRemv:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code ReadingRemv
          
      post:
        summary: Submit IF-041 with Event Code ReadingRemv message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-ReadingRemv
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/ReadingInstl:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code ReadingInstl
          
      post:
        summary: Submit IF-041 with Event Code ReadingInstl message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-ReadingInstl
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/ReadingEnergisationChg:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code ReadingEnergisationChg
          
      post:
        summary: Submit IF-041 with Event Code ReadingEnergisationChg message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-ReadingEnergisationChg
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/ReadingCOR:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code ReadingCOR
          
      post:
        summary: Submit IF-041 with Event Code ReadingCOR message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-ReadingCOR
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/ReadingOnSite:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code ReadingOnSite
          
      post:
        summary: Submit IF-041 with Event Code ReadingOnSite message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-ReadingOnSite
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/ReadingCOS:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code ReadingCOS
          
      post:
        summary: Submit IF-041 with Event Code ReadingCOS message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-ReadingCOS
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/DSEstimate:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code DSEstimate
          
      post:
        summary: Submit IF-041 with Event Code DSEstimate message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-DSEstimate
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/SupplierAgreedCOS:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code SupplierAgreedCOS
          
      post:
        summary: Submit IF-041 with Event Code SupplierAgreedCOS message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-SupplierAgreedCOS
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/ReadingOverride:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code ReadingOverride
          
      post:
        summary: Submit IF-041 with Event Code ReadingOverride message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-ReadingOverride
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-041/ReadingRemote:
      summary: DIP Interface Validation for IF-041
      description: Validates DIP messages. Need to specify message channel IF-041 and the event code ReadingRemote
          
      post:
        summary: Submit IF-041 with Event Code ReadingRemote message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-041-ReadingRemote
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-043/ConnectionTypeChange:
      summary: DIP Interface Validation for IF-043
      description: Validates DIP messages. Need to specify message channel IF-043 and the event code ConnectionTypeChange
          
      post:
        summary: Submit IF-043 with Event Code ConnectionTypeChange message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-043-ConnectionTypeChange
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-043-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-044/MarketSegmentChange:
      summary: DIP Interface Validation for IF-044
      description: Validates DIP messages. Need to specify message channel IF-044 and the event code MarketSegmentChange
          
      post:
        summary: Submit IF-044 with Event Code MarketSegmentChange message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-044-MarketSegmentChange
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-044-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-045/InvalidMarketSegment:
      summary: DIP Interface Validation for IF-045
      description: Validates DIP messages. Need to specify message channel IF-045 and the event code InvalidMarketSegment
          
      post:
        summary: Submit IF-045 with Event Code InvalidMarketSegment message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-045-InvalidMarketSegment
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-045-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-045/ConsentGranularityInvalid:
      summary: DIP Interface Validation for IF-045
      description: Validates DIP messages. Need to specify message channel IF-045 and the event code ConsentGranularityInvalid
          
      post:
        summary: Submit IF-045 with Event Code ConsentGranularityInvalid message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-045-ConsentGranularityInvalid
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-045-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-045/NoMSAppointed:
      summary: DIP Interface Validation for IF-045
      description: Validates DIP messages. Need to specify message channel IF-045 and the event code NoMSAppointed
          
      post:
        summary: Submit IF-045 with Event Code NoMSAppointed message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-045-NoMSAppointed
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-045-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-045/NoDSAppointed:
      summary: DIP Interface Validation for IF-045
      description: Validates DIP messages. Need to specify message channel IF-045 and the event code NoDSAppointed
          
      post:
        summary: Submit IF-045 with Event Code NoDSAppointed message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-045-NoDSAppointed
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-045-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-050/MPANCreation:
      summary: DIP Interface Validation for IF-050
      description: Validates DIP messages. Need to specify message channel IF-050 and the event code MPANCreation
          
      post:
        summary: Submit IF-050 with Event Code MPANCreation message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-050-MPANCreation
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-050-MPANCreation'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-050/MPStatusChange:
      summary: DIP Interface Validation for IF-050
      description: Validates DIP messages. Need to specify message channel IF-050 and the event code MPStatusChange
          
      post:
        summary: Submit IF-050 with Event Code MPStatusChange message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-050-MPStatusChange
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-050-MPStatusChange'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-050/GreenDeal:
      summary: DIP Interface Validation for IF-050
      description: Validates DIP messages. Need to specify message channel IF-050 and the event code GreenDeal
          
      post:
        summary: Submit IF-050 with Event Code GreenDeal message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-050-GreenDeal
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-050-GreenDeal'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-061/MDRStart:
      summary: DIP Interface Validation for IF-061
      description: Validates DIP messages. Need to specify message channel IF-061 and the event code MDRStart
          
      post:
        summary: Submit IF-061 with Event Code MDRStart message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-061-MDRStart
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-061-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-062/MDRStartResponse:
      summary: DIP Interface Validation for IF-062
      description: Validates DIP messages. Need to specify message channel IF-062 and the event code MDRStartResponse
          
      post:
        summary: Submit IF-062 with Event Code MDRStartResponse message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-062-MDRStartResponse
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-062-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-063/MDRStop:
      summary: DIP Interface Validation for IF-063
      description: Validates DIP messages. Need to specify message channel IF-063 and the event code MDRStop
          
      post:
        summary: Submit IF-063 with Event Code MDRStop message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-063-MDRStop
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-063-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-064/MDRConsumption:
      summary: DIP Interface Validation for IF-064
      description: Validates DIP messages. Need to specify message channel IF-064 and the event code MDRConsumption
          
      post:
        summary: Submit IF-064 with Event Code MDRConsumption message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-064-MDRConsumption
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-064-Payload'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-065/ReadingRemote:
      summary: DIP Interface Validation for IF-065
      description: Validates DIP messages. Need to specify message channel IF-065 and the event code ReadingRemote
          
      post:
        summary: Submit IF-065 with Event Code ReadingRemote message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-065-ReadingRemote
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-065-ReadingRemote'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-065/MDRInstantaneous:
      summary: DIP Interface Validation for IF-065
      description: Validates DIP messages. Need to specify message channel IF-065 and the event code MDRInstantaneous
          
      post:
        summary: Submit IF-065 with Event Code MDRInstantaneous message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-065-MDRInstantaneous
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-065-MDRInstantaneous'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-065/MDRTOU:
      summary: DIP Interface Validation for IF-065
      description: Validates DIP messages. Need to specify message channel IF-065 and the event code MDRTOU
          
      post:
        summary: Submit IF-065 with Event Code MDRTOU message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-065-MDRTOU
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-065-MDRTOU'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  
  /validate/IF-065/MDRConsumption:
      summary: DIP Interface Validation for IF-065
      description: Validates DIP messages. Need to specify message channel IF-065 and the event code MDRConsumption
          
      post:
        summary: Submit IF-065 with Event Code MDRConsumption message for validation  
        description: Allows a Market Participant to validate a single messages for debugging purposes only  
        operationId: validate-IF-065-MDRConsumption
        tags:
            - DIP Message Validation Endpoints
        
        requestBody:
          required: true
          content:
            application/json:
              schema:
                type: array
                minItems: 1
                items:     
                    type: object 
                    properties:
                      payload:
                        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-065-MDRConsumption'

        responses:
          '201':
            description: Message OK
            content: 
              application/json:
                schema:
                    type: string
                  

          '400':
            description: Bad Request
            content: 
              application/json:
                schema:
                    type: string
                    
          '500':
            description: Internal Server Error
            content: 
              application/json:
                schema:
                    type: string
  

#####################                
components:

  parameters:

    MessageChannel:
      name: id
      in: path
      required: true 
      schema:
        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-000-InterfaceID' 

    MessageRecipientId:
      name: recipient-id
      in: path
      required: true 
      schema:
        $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-006-DIPParticipantID' 

    CommonSignatureHeader:
      name: X-DIP-Signature
      schema:
        type: string
      in: header
      required: true

    CommonSignatureDateHeader:
      name: X-DIP-Signature-Date
      schema:
        type: string
      in: header
      required: true

    CommonSHA256Header:
      name: X-DIP-Content-Hash
      schema:
        type: string
      in: header
      required: true

    CommonSignatureCertifcateHeader:
      name: X-DIP-Signature-Certificate
      schema:
        type: string
      in: header
      required: true
      
    CommonMPODetails:
      name: X-DIP-MPO
      schema:
        type: string
      in: header
      required: false


  securitySchemes:
    ApiKeyAuth:        # security scheme name 
      name: X-API-Key   
      type: apiKey
      in: header       

  


  schemas:

### DIP message defintion              

    DIPMessageArray:
      description: Array of DIP messages
      type: array
      minItems: 1
      items:
        $ref: '#/components/schemas/DIPMessage'

# DIN-892
    DIPMessageEgressArray:
      description: Array of DIP messages
      type: array
      minItems: 1
      items:
        $ref: '#/components/schemas/DIPMessageEgress'

        
# Interface defintions found in interfaces file
  
    DIPMessage:
      description: DIP message - multiple payloads mapped into single object 
#DIN-749 - Add payload to the required 
      required:
        - payload
      type: object
      properties:
        payload:
          oneOf:
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-001-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-002-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-003-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-004-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-005-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-006-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-007-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-008-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-009-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-013-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-014-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-015-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-016-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-019-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-020-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-021-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-022-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-023-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-024-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-025-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-026-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-027-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-028-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-031-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-032-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-033-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-034-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-036-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-037-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-038-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-039-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-040-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-043-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-044-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-045-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-047-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-050-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-061-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-062-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-063-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-064-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-065-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-002-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-002A-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-002B-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-003-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-003A-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-004-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-006-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-007-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-008-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-009-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-900-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-901-Payload'
  
# DIN-892  
    DIPMessageEgress:
      description: DIP message Egress - multiple payloads mapped into single object 
      type: object
      required:
        - payload
      properties:
        payload:
          oneOf:
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-001-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-002-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-003-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-004-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-005-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-006-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-007-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-008-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-009-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-013-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-014-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-015-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-016-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-018-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-019-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-020-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-021-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-022-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-023-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-024-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-025-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-026-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-027-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-028-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-031-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-032-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-033-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-034-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-035-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-036-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-037-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-038-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-039-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-040-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-041-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-043-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-044-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-045-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-047-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-050-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-061-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-062-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-063-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-064-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/IF-065-Payload' # DIN-844
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-002-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-002A-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-002B-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-003-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-003A-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-004-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-006-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-007-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-008-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-009-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-900-Payload'
            - $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/Interfaces-EventCodes/1.8.3#/components/schemas/REP-901-Payload'
  
  


## Config types:
  
    WebhookConfig:    #DIN-464 - updated to remove RestConfig and PublicationConfig to simplify 
      type: object
      properties:
        callbackURL:
          type: string
          format: uri
          example: https://bigEnergyServer.com/receiveEvents

        maxMessageCount:
                  description : optional - will default  - lower lmit
                  type: number
                  example: 100
        maxPayloadSize:
                  description : overall maximum payload size in Kb 
                  type: number
                  example: 100000

    MessageRequest:
      type: object
      required:
          - datetimeFrom
          - datetimeTo
          - eventCode
          - MPAN
          - version
  
      properties:
        datetimeFrom:
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-003N-DateTime'
        datetimeTo:
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-003N-DateTime'
        eventCode:
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-004N-EventCode'
        MPAN:
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-002N-MPAN'
        transactionIDs:
          type: array
          minItems: 1
          maxItems: 100
          items:
            $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-014-DIPTransactionID' 
        version:
            $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataCatalogue/1.8.3#/components/schemas/DI-992N-Schema-Version' 
        

    StandardResponse:
      type: object
      properties:
          messageArray:
            $ref: '#/components/schemas/StandardResponseArray'
          timestamp:
            $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-003-DateTime'
          
    StandardResponseArray:
      description: Submit Event API Response type
      type: array
      minItems: 1
      items:
        $ref: "#/components/schemas/StandardResponseBodyType"

#Updated DIN-1031
    StandardResponseBodyType:
      type: object
      properties:
        transactionID:
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-014N-DIPTransactionID' 
        senderUniqueReference : 
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-995N-SenderUniqueReference'
        correlationID:
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-011N-CorrelationID'

        sentTimestamp:
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-003-DateTime'
        senderID :
            # the sender of this message
            $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-006-DIPParticipantID'
        recipientID :
            # indended (logical) recipient of the message, i.e sender of the original event message
            $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-006N-DIPParticipantID'
        DIPConnectionProviderID :
            # physical recipient of the message (if different to recipient Id)
            $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-006N-DIPParticipantID'
        message:
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-005N-StatusErrorMessage'
        help: 
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-019N-HelpText'
        serviceTicketURL: 
          $ref: 'https://api.swaggerhub.com/domains/MHHSPROGRAMME/DataTypes/1.8.3#/components/schemas/DT-018N-URL'

      required: 
        - transactionID
        - senderUniqueReference
        - correlationID
        - sentTimestamp
        - senderID
        - recipientID
        - DIPConnectionProviderID
        - message
        - help
        - serviceTicketURL




## End ##